package com.chixing.day05.b;

import com.chixing.day05.a.Father;

public class Son extends Father {
    public void fun() {
        Son su = new Son();
        su.m = 10; //public
        su.y = 20; //protected

        Father father = new Son();
        father.y = 20;
    }
}
